import java.awt.BorderLayout;
import java.awt.Container;

import javax.swing.JFrame;


public class Main extends JFrame {
    CirclePanel drawing = new CirclePanel();               // Note 1
    Main() {
        //--- Get content pane, set layout, add components
        Container content = this.getContentPane();
        content.setLayout(new BorderLayout());
        
        content.add(drawing, BorderLayout.CENTER);        // Note 2
        
        this.setTitle("Circles");     
        this.pack();       // finalize the layout
    }//end constructor
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		System.out.print("test");
		System.out.print("test2");
		
		DBDemo db = new DBDemo();
        JFrame myWindow = new Main();
        myWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        myWindow.setVisible(true);
	}

}
